/*
 * @(#)StandardAdapter.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.alert.core;

import java.sql.Connection;
import java.sql.Timestamp;

import com.dcivision.framework.ApplicationException;
import com.dcivision.framework.SessionContainer;

/**
  StandardAdapter.java

  This class is the StandardAdapter.

    @author           Scott Tong
    @company          DCIVision Limited
    @creation date    22/08/2003
    @version          $Revision: 1.6 $
*/

public interface StandardAdapter {
    public void setNecessaryResource(SessionContainer sessionContainer, Connection conn);
    public void call(String objectType, Integer objectID, String eventType, String objectName, Timestamp refDate, String eventName, Integer creatorID) throws ApplicationException;
    public void call(String objectType, Integer objectID, String eventType, String objectName, Timestamp refDate, String eventName, Integer creatorID, Integer targetDocID) throws ApplicationException;

}
